package com.jic.veteran.mapper;

import com.jic.veteran.model.PayInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PayInfoMapper {
    int insert(@Param("item") PayInfo payInfo);
    PayInfo getPayInfoStatus();
    PayInfo getPayInfoById(@Param("id") Long id);
    List<PayInfo> getPayInfoList();
    int updatePayInfo(@Param("id") Long id,@Param("status") String status);
    PayInfo getPayInfoByCustId(@Param("custId") String custId);
}
